<% #endcoding:utf-8%>
<li class="list-group-item">
  <%if user.s_type=='user'%>【用户】<%=link_to user.title,'/usercard/'+user.id.to_s%><%end%>
  <%if user.s_type=='demand'%>【需求】<%=link_to user.title,'/demands/'+user.id.to_s%><%end%>
  <%if user.s_type=='question'%>【问答】<%=link_to user.title,'/questions/'+user.id.to_s%>
  <%end%>
</li>